<?php

namespace app\modules\Admin\models;

use DateTimeInterface;
use goodsModel;
use goodsskupriceModel;
use Illuminate\Database\Eloquent\Model;

class storememberModel extends Model
{
    protected $table = 'store_member';
    protected $primaryKey = 'id';
    protected $appends = [];

    public $timestamps = false;

    public function store()
    {
        return $this->belongsTo(\storeModel::class, 'store_id', 'id');
    }

    public function member()
    {
        return $this->belongsTo(\memberModel::class, 'member_id', 'id');
    }
}